package crmdna.helpandsupport;

import com.google.api.server.spi.config.Api;
import com.google.api.server.spi.config.ApiMethod;
import com.google.api.server.spi.config.ApiMethod.HttpMethod;

import crmdna.common.APIResponse;
import crmdna.common.APIResponse.Status;

@Api(name = "help")
public class HelpApi {

	@ApiMethod(path = "getConfigParamDescriptions", httpMethod = HttpMethod.GET)
	public APIResponse getConfigParamDescriptions() {
		try {

			return new APIResponse(Status.SUCCESS,
					HelpAndSupport.getConfigHelpProp());

		} catch (Exception ex) {
			return new APIResponse(ex);
		}
	}
}
